<?php


namespace App\Http\ModelDao\BankAcount;


class SuperviseAccountFlowDao
{
    /**
     * 响应数据格式转换为序号数组
     *
     * @param $result
     *
     * @return array
     */
    public static function numberResult($result)
    {
        $data = [];
        foreach ($result as $val) {
            $data[] = [
              $val->tran_date,
              $val->tran_serial,
              $val->reg_acc_no,
              $val->city_name,
              $val->ledger_subject_name,
              $val->tran_dir,
              $val->tran_amt,
              $val->tag,
              $val->rcv_pay_acc,
              $val->rcv_pay_name,
              $val->rcv_pay_ebk,
              $val->rcv_pay_ebb,
            ];
        }
        return $data;
    }
}
